Remove class getter method