Added helper to render attributes