Change properties' visibility to protected.