Small lib to define strictly typed objects