Fixing use of deprecated add_extension() syntax

Fixing use of `add_extension()` so this works in SilverStripe 3.1.