Stripped out ninja code