Allowed getExtensions method to operate on any object containing
extensions