Fix locals extension by adding localsDefaults to lextend