Improved Processor declaration detection