Remove unused syntax

Removes semicolons, dir argument and id properties