Fix default attribute registration