flight.js: Removed trivial functions