Some tiny code re-factoring practices.