WIP; enforceSchema functionality