Added object as a param to enqueue route methods.