Imported from Robot Builder.