Changed panel plugin to return render arrays