Added configurable expiry.
0.1.1