Updated according to plugin boilerplate