Fix static property inheritance (fixes #7)