Move delegate methods to delegate.