Check if constants exists. Fix #42