Added template body to Text.java so it compiles