Store state in a single property and make it mutable