propertymeta: only use it where we use it

Remove it where we did not actually use it and move the header to the .c file
where we use it.