Fix declare* invocation from decorators

This fixes #6