Set attributes on procedural correctly