Refactoring.
Added support for Composer.