small api change for libraries helper