JAS Compatability Module. Source extracted from JAS.