Added Memory method to both local and remote routines