Added appending and prepending to factoids.