Remove redundant parentheses
Remove unused variables
Simplify `prev` usage in load method
Don't use mutable values for defaults