code: public Object remove(String name) {
  		Bean bean = beans.get(name);
  		if (null != bean) {
  			beans.remove(name);
  			bean.destructionCallback.run();
  			return bean.object;
  		}
  		return null;
  	}
docs: Remove a bean from the context, calling the destruction callback if any.
  
  @param name bean name
  @return previous value