API Updated to be compatible with Silverstripe 3.1