Fix for undefined property.