Fixed extend and utils module. Added new specs.