Finalized if stuff.