Adding bean functiionality