Implemented automatic metadata fetch.