Exposed physical objects to user code