Adding support for dynamic parameters based on attributes of class