attach behaviors to request