Fix declarations setter and name setter