Support for custom classes as api method parameters with validation :)