Adding bean accessors to make testing easier
Remove unused warning