Making getPrimaryKey public too