Allow indexing int and bool properties
Use the core primary key functionality