http://docs.lino-framework.org/blog/2013/1126.html