Removed unnecessary getName() methods in framework