Add support for :to option in delegate.