Remove an extra delay_method
Move add_lazy_dependency into queued.py