Added the ability to persist copybean types.