properties and castings inside predefined templates support