fixed __name__, __module__ and __doc__ properties assignment to decorated function