Refactor wrapper append method.