added beans interface class argument to MetaData for caching