Changed from Hook.add(..) to Hook(..)