Workarounds for RubyMotion