Postfix templates: fix template for anonymous classes