Fill in some functions that were implemented but not serialised
Fill in a bunch of render state fetching