Modified module to work with Silverstripe 3.1