Add in DART optimizations 

because im too lazy to commit all of the changes i want.