Added Framework and base functions.