Removed redundant code from core.js #1938
Added warning for beforeChange hook returning a function #1938
Fixes for events not being removed, causing memory leaks
Typo correction #1938
Merge branch 'feature/issue-1938' into develop
Merge branch 'feature/issue-1948' into develop