Adding function headers to explain params required and optional