This should stop the fuss around class initialization failing

Signed-off-by: Irmo van den Berge <bergerkiller@gmail.com>