restrict methods on handlers