Methods that follow JavaBean naming contract for accessors are expected to have no side effects. However, methods with a result type of Unit are only executed for their side effects.

* Refer to Programming in Scala, 2.3 Define some functions