Move API export to composer