Enhancing functionality with passing mobile_spec param (for getCanvas)