Implemented 'wrapMode' setting.