Added grammar for parsing return codes.