Added stored script and search template APIs