RF: changed implementation of src data type and their usage.