Add version and theme parameters to API