Code in src/lib shouldn't reference the REQUEST structure