@classmethod
def __jsonDecode__(cls, state):
    """Returns an object of cls based on a given state"""
    return cls(state.pop('owner'), state.pop('type_'), state.pop('name'),
        state.pop('locations', None))
