added bean type api