start_of_line and end_of_line now correspond to the prescribed implemention (#8)