Add proper .local() functionality.