Clash Detection and Code Checking