Added S4 method for the SystemMetadata constructor.
Renamed S4 constructor so it doesn't conflict with S3 method.
Replace S3 constructor with S3 version.
Restore Collate directive to fix class load order.