diet: Implement overridable blocks.

TODO: allow pre- and appending to blocks.