Fixed #169: responds_to? didn't work with generic classes