Adapting to composer