Fix clang warnings: class vs struct.

This is very simple change, but removes a lot of noise emitted by clang (all struct vs class warnings).