Fixed spawn class.