Replace old extension checks (refs #118)