Now treating all objects as beans if they have no public attributes.
Fixes bug with file handles getting left open.
Bumps version to 2.6