Removed function inherited(...) since it was inherently wrong and wouldn't
work as expected. At the time of execution classof(self) isn't necessarily
the same class where the function calling it is defined and inherited relied
on classof()