Add persistent view support, issue #49