Add hook support