Move error callback assignment as a return value of false is interpreted as an error.