Added lazy mode for beans