Add support for creation hook