Added shift register common file.

Changes to shift register specialisation access