Fix in behaviour sharable: can't put functions in a class propery