Add minimal support for APL