[Interfaces] Clean up things found by Cppcheck