Updated bean validator