Added mask version.