adapting parameters and renaming remote classes