Reorder functions

PHPStorm has the annoying habit of generating getters/setters in
completely random order; reorder them to match the properties.
(+3 OCD points)