Added package declarations to syntax classes, little fixes