Utilities for pave.js