Add db#mean and fix option reverse