Update thor dependency to version 0.18.1