Add option to store object in view
fix #78
fix #79