added REQUEST variable to allow using :REQUEST in IR SQL
add missing changes to types package