code formatter, object references and templates