do not use bean classes anymore, use model classes directly.