item store hooks
doco
make the template processor (e.g. replace_macros) pluggable