Pretty sure null should be `$this`. [See 1.8](https://github.com/Elgg/Elgg/blob/1.8/engine/lib/extender.php#L234)