WIP: conversion to SCIFIO API