Revert "Removed non-working setContent function."

This reverts commit 364bbc588fb734eebee239bb707ccb7fa02833ee.