Allow to specify which primitives to load instead of just loading all

So that if you know in advance which primitives you will need, you do not have to wait for all to load.