bugfix - removeDelegate method for BeanClasses called removeObject on NSArray.