Merge pull request #452 from dorkster/fixes

Change syntax for spawn & spawn_type