Fixed some compiler warnings (hid unused param warnings).