Make sure decrypt function is available in templates