Add ability to allow optional fields to return none instead of raising an AttributeError.
Changes for v1.1.0.