Add attachment behavior