Added experimental code to mimic ifdef