Removed GCC warnings about unused parameters