Delete class name form definition of method due to duplicate class name.