Added flexibility to renderable factory.