Adding methods to top class