Code-clean up. Use BMI_CEM_Get_value_ptr.