nearly recapitulating old functionality with epub2