Extension is an old-style class so we need a different approach