old_contents: try:
      from extmods import *
  except (ImportError, AttributeError):
      from sfepy.base.base import output
      msg = 'sfepy extension modules are not compiled!\ntype "make"'
      raise ImportError( msg )
  
  from functions import Functions, Function
  from mesh import Mesh
  from mesh_generators import gen_block_mesh, gen_cylinder_mesh
  from conditions import Conditions
  from domain import Domain
  from region import Region
  from fields import Field, setup_dof_conns
  from variables import Variables, Variable, FieldVariable
  from materials import Materials, Material
  from equations import Equations, Equation
  from integrals import Integrals, Integral
  from problemDef import ProblemDefinition
  from sfepy.fem.meshio import MeshIO
  from evaluate import assemble_by_blocks
  from utils import extend_cell_data
  
new_contents: try:
      from extmods import *
  except (ImportError, AttributeError):
      from sfepy.base.base import output
      msg = 'sfepy extension modules are not compiled!\ntype "make"'
      raise ImportError( msg )
  
  from functions import Functions, Function
  from mesh import Mesh
  from mesh_generators import gen_block_mesh, gen_cylinder_mesh
  from conditions import Conditions
  from domain import Domain
  from region import Region
  from fields import Field, setup_dof_conns
  from variables import Variables, Variable, FieldVariable
  from materials import Materials, Material
  from equations import Equations, Equation
  from integrals import Integrals, Integral
  from problemDef import ProblemDefinition
  from sfepy.fem.meshio import MeshIO
  from state import State
  from evaluate import assemble_by_blocks
  from utils import extend_cell_data
  
subject: add State to sfepy.fem namespace