Allows setting the delegate without problems