Refactor error handling for node requests.
Allow embedded fields to be of non-pointer type.