https://github.com/rhomobile/rhodes/pull/437/files