Replaced extend_instance with set_properties. Improved property naming. Completed working demo.