Fix #217 by adding optional statusCode to renderData().