Initial implementation of compact protocol in Obj-C