updates to be dagger.js compliant