Modified getProjects call to support limit and offset parameters.