Update for API changes

SpoutAPI: https://github.com/SpoutDev/SpoutAPI/pull/563
Vanilla: