Use interface to decouple config and hooks