made parameters types in keys wildcard generics if used in with generic
types