Fixes #979 Remove PHP closing tags.

PHP closing tags was still created in various places.