Change core_device constructor.
Fixed typos