Framework for allowing application command targets to handle higher level commands