better options and keys for relation plugin.