Changed HandlerFunc to support a idiomatic method header.