Removed unused metadata.cpp