Make sure that #transformContent can only be set to true on items that actually support it.