Adds a 'spiky' network builder function.