Adding ability to invoke remote functions.