Change to use the correct hook new.