Presuming some class which has a known collection of constants, I need it to be able to create functions dynamically from user input while also using said list of constants,