Fixes #15, errors related to memio deprecation