Re-added getSubmissions (mistakenly removed in previous commit).