Add hook parsing.