Make 'exists' functions not inline