Added support multiple methods for classes