added the option to not decide if autoload should be used while replacing handlers