The Assets trait now include a setup method that lets you run initialization code for your custom asset provider.
Assets
setup