Added focus() primitive.