A bit cleaner code.