Fixed checkstyle error in beans.