deprecated resource() in favor of prefix(), moved before()/after() calls into on(), render()/json_out() no longer use exit