Fix warnings for -Wundeclared-selector