Remove nil checks for required items modified and hostname.