Fix support for statusCode