Added a definition which removes warnings about unused parameters