Re-added the delegate so that it can be overridden