Remove non-PHP pieces