Workaround new @wraps behavior in Python 3.4

Fixes #25