Switched pattern from revealing module to prototype class (easier to extend).