Method should be class defined