Utility functions for admin.js...