Moved the logic from ImpersonateMessage to the Decorator class