Add strict base types, mean, and conversion functions