You're right, this can be moved up to MemoryQueryingProfile