Added callbacks for the create process.
Fixed import.
merge