Implement spawn/1