simplify creating event handler resolver callbacks per @martypdx suggestion