Changing method definition to match the parent class.