Added return statement get_metadata.