There was a couple of missing using's.

Added System, System.Linq and System.Collections.Generic.