Reduce pointer use when possible