Implement location creation.