Incremental commit (now it typechecks)

Signed-off-by: David Scott <dave.scott@eu.citrix.com>