Added pagination templates