As used in this chapter, “shall” is mandatory and “may” is permissive.