Convert to bean