Added postEvent, postMessage & postTextMessage