Fix formatting, use Target for capture activities, fix building trait lookup in Capturable