Added type parsing for FromInteger