Switch the pythontemplates to use the advanced formatting operations since they permit attribute access.