Updated to OC 1.4 API

This implements the changes necessary for #162.