Any agreement contrary to the provisions of this chapter shall be void and of no effect.