removed now unused Application.spawn method