Made the delegate methods optional