WIP: implementation of in_memory property

Implementation to help discussion on mailing list.