Add framework functions.