Changing API compile methods