In plugins.md it says that you should add a after_initialize block to override core classes. However, this only works for Rails apps. Since the backend is a Sinatra app the doc misses a part on how to extend backend core classes. This would be helpful for people like me who are not too familiar with Ruby/Rack/Sinatra/Rails.