Address: Fix indentation, typos and simplify isValid