Good point. There should've been a checkNotNull.