Added auto-loading APIs and an entry point.