I wasn't quite sure where else to document this but I figured it is useful to collect these as some kind of wiki for other devs.