Work around noSuchMethod error