Added initial support for feature weights.