Small helper methods for node applications.