Close #1: add support for lifetime