Convert accessor property to function due to ie8's compatibility