Removed encode_params method (Not in use anymore)