Added 'loose' option.