Fixed illegal invocation.