Updated API internally to reflect recent changes.