Add docstring for metadata method