Tie-ins and helper functions