Expose metadata. Add some docs.