Revert "Implement variation selectors support"

This reverts commit 835fce61e79983a314e0866c01fb6ad502c54ff2
Make few functions static