Fixing up Directory with some new formatting and phpcs kml output.
Missed some declarations.