Add debugging statements to allowedIn, convert tabs to spaces