Prototype pattern implementation (jsdoc generated documentation).