Change server side to share parameter handling and format of handling functions