Rename internal method from `.template` to `.type_casting_template`