Basic replacing functionality, mostly exponention rendering.