Ensure output layers are named.