Composer segments complement resource. Solve part of #100