Fixed some bugs caused by validation and extension of Beans. [WiP]