Minor cleanup to teiler