Remove unused methods, and deed codes