Remove duplicate and redefined method.