Handles static methods defined in interfaces

Related to issue #233