Delegate methods

Added some delegate methods I've been using in my projects. They might be helpful for others as well.