Inherits: adjusted mixin definition to use ES5 object methods