Removed bpy.ops dependency.