Add support for $allow_transfer