Add DSL for after_install and similar blocks