Reverted back ActivityHandler.toView related changes.