Add attributes to type/module definition

Nice!