Basic shadow datatypes

@markhibberd @maxpow4h @etorreborre @charleso @raronson 
Can you remove this fix, it is not relevant anymore.