Adding a requirement for a plugin function