Bug fix in As<> implementation.