constify structure and add statics.