Replace CodePath model