Ad-Hoc Commands implementation (JEP-0050).