Don't store cache/locks at function attributes