Refactored getSuperProperties and getSubProperties into four methods.