Added Constraint to Repository and added stubs for the interface methods