Add protocol to type of delegate of OFApplication.