Added length_entry_page, weight_entry_page, and some tests.