This isn't really boilerplate; it declares dependencies needed in the environment, which cannot in general be inferred from static analysis of the code.