Buffer objects don't have startswith().