Update example extension to remove defunct globals function