Fixed some extension problems.