Fixed prepend and append in kirsan.