Refactor area setter and getter.