Use option to avoid NPE in test.