If we can ever get a generic form of lib dir grouping then the method should go here.
