add attributes for all components + doc strings