2.5 adding objects

i tried to locate in which module but cannot relocate theses

can someone point me to the right module

bpy.ops.object.mesh_add(type=‘CUBE’

which is simply adding an object at the origin which can be any of the primitive in blender

Thanks