cant use private members from closure in php <5.4
more consitency in hook names
add test case for getting group after deleting it
search parameter is not optional