Add null object pattern.