#31 Fixed max parameters failure on case classes