Fix what I assume were out-of-date API calls.