The permittedTransactions API was really only meant for debugging. Using a macro to allow it to be disabled.