Structures and core functions finalized.