Update to modern Obj-C synthax.
Merge pull request #31 from EvgenyKarkan/refactoring

Update to modern Obj-C synthax.