Fix several paths & improve composer integration.