Create base class for methods