Added a generic callback to register EAP methods using plugin features