changed all configuration elements to make use of generic type casting