Import from pyqode.core