The Mason extension API.