Convert to spawnable with python

This will be in 5.1 when it is released. You can try it out in the 5.1 Preview at the moment.