Add the support of register and JPA beans.