Added handling of undefined API resource properties and updated docs.