Fix the interface to match Composer's API