Make the attribute struct fully functional. Add load/dump support.