Small bug (extsAndClass > 1 => len(extsAndClass) > 1)