Fixing the type of brewery_core