Refactoring transformer to handle article