Overwriting existing spatial type

A very similar question was asked recently: How to overwrite spatial function descriptors - #4 by Marko
Please read the discussion first.