Mode method implemented.