Removed unused dependencies in api.coffee