before/after callbacks on declared rels