improved bean introspection and headers