The term costs refers to both expenses and advances inclusively.