Start replacing setMetadata