fixing runtime inferred argument support for classes for generic functions