Add compile time checks
Chris Manton authored
e17abd8c