Fix return spec and line numbers.