Make Metadata class public