Make attache init allow named profiles. Add weak error checking.