Custom code for Maestro.