Updated some code.