expose attributes - fixes #152