clarify before hooks a bit (#477)