see if doing a metadata.reflect() does the trick.