Implements the null object pattern.