Separate out unique and slug functionality.