Minimizing the number of libraries imported