Added some more spatial functions