Suddenly my code started throwing errors regarding methods on mongoose schema.
I have the following Document and Schema