Made the requirement of a non-nil formatName more explicit.