Clean some useless methods.