For the following services hereafter performed, in the cases authorized by law, the officers hereinafter named shall be allowed, respectively, the fees in this chapter directed.