Imported initial code.