Adds additional function to the sqlite template