Add :subprotocol and default :classname to db records