Add missing static
Add missing return true statements to legacy preferences functions