Very fast template module written by XS.