Implemented more methods in CompanyHierarchy