Add some hooks