remove Environment* parameter from handler typedef