Allow users to specify a mask for the loading method.