Removed unnessesary apply-templates.