1088 Extend API to allow access to compiler