Convert AllContent and AllMedia to methods