Optional beans definition