Add documentation about templates