updated composer to support behaviors