Helper functions for Express framework.