Remove required and optional data structures

This should not be handled by the library but let the remote service
report any error or parameter requirement.