[#43] Refactoring to make query optional in a prepared statement prime.