Removed few compiler warnings (unused argument)