Initial import from KKMA's original source.