Minor improvement to the inspector