added type property in PageComponent.
update composer configuration.