removes superfluous methods