Added missing Layer methods.