Tidy-up of AppCode plugin code.