Added textmetadatanode and constructor