Add hook methods.