Starting to clean-up primitives and framgment processor.