Support single function handlers