Some useful modifications for CoronaSDK