Changed some attr names for compatibility with popular libs.