Use beans for RenderParams and modify API to support component rendering