Remove invalid property and method call