Added basic bean validation