fix FromToken with casted interfaces
Merge branch 'master' of https://github.com/signumsoftware/framework