Remove remote class and code