Allowed better syntax for callbacks in config