Formatted code.
Refactor: removed duplicated method.