Added retro compatibility for the old extension