Why do a function wrapper here? Why not just attach everything to `this` since this is a service?