Added warning to DartCode constructor