Add `prepend` and `append` options to line comp