Minimum changes to work with silverstripe 3.1