Support for generic methods