Making Bind method generic.