Removed unused Layer class method nameFromId
Removed unused Layer class methods get_validity