Enhance library for xtend compiler
Working library example