* Fix long method code smell.