Various kinds of magic for working with Java Beans