Added an interface for methods