View storage boilerplate