Added to core functions. Defined autoloader.