Provide APC cache-clearing functionality

Closes #365.