Moving mixins into ghost namespace.
Adding tests.