#653628 by dagmar and dereine: Ensure child method declarations match parent method declarations to prevent notices.