Removed NSLog in favour of NSError. 'Nodes was nil' no longer logged.