Refactoring Nucleo examples.