baseparse: modify API to a _finish_frame based approach