Make simulator a type instead of a class.