Fix railtie.

Closes #4