Implemented getLong in configuration classes