Rework API wrapper access to ensure config works