Refine app bootstrapping.