small adjustments to the interface to accomodate apims compiler