Unnecessary method is cleaned.