Dagger is now a class with useful functions.