Updated CompoundUI to handle imported resources attributes