Add support for old Genesis hook