Modified for automatical compilations.