reverting api to the state it was in before the defensive-api-changes