Fix type specification.

This type shouldn't be the general Erlang term, it should be the opaque
term type.