Added missing CompilerPass, fixed bugs