finally resolves #17 but including all methods from main class, not only from subclass