Small refactoring with MetaTable variable