Use staticDirectory instead of staticDir, for consistency