Finalized functions.