Adding missing prepare queries