http://dlang.org/contracts.html
Multiple bracket blocks is not the most esthetic of solutions I think but it's the best I can think of. Attributes feels too clunky and just stacking contracts as lines after the class statement feels too disorganized
http://dlang.org/contracts.html