Add bar functionality.