Added 'appendSpace' option