Implement set and get parameters.