Refactoring to get Meta info