RailFunction.dump() added for debugging