remove warning about previously defined methods for interfaces