Fixes #8649 - Register to Apipie via plugin methods