Move attribute def to the top.

Brainfart.