Implemented basic RMI.