simplify the handler interface

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>