Adding phpDoc parsing and error handling to plugins