Remove unnecessary template extension