Add hook finalize routes