Np ma append

 #2219
Did a rebase and the history got complicated. Closed old PR and started new one.