Changed GetContent function.