Tidied up demo of metadata module.