Fixed template to allow multiple custom instances