Add Decorator Template Code