Standalone version, before incorporating other class libraries.