Resolved 500 internal server error when using model.subscribe without callback

When using model.subscribe without callback, the default "noop" function was not defined.