Updated to use with composer.