Removing duplicated method definition