Make classes and variables final

These are objects that should be ideally immutable. They are all value
objects.

See #1.