Pluralized $slug variable and added basic interface for relations