what is the necessary expense doctrine