Fixes #3988 - use require instead of autoload_once_paths
Fixes #4515 - Add support for dynamic bindings