Alternatively, putting in the prototype can work if extensions are used instead of mixins.