Some checks for null items, additonal documentation changes.