Move View#delegate and View#undelegate to utils.delegate.