Break out static params into their own trait

Also fix some syntax errors