views: Add some asserts and comments.