Fixing template variable calls.