Simple decorator implementation