Disabled function connect() if no state pin
Disabled state pin variable if no state pin defined
Write check demanded to higher level if no state pin available