Use pluck instead of mapping attributes for performance.