Refactor property to method.