Greatly optimized @decorator