Updated defs/casting according to issue comments.
Updated defs/casting according to issue comments.

lokik/sfepy,lokik/sfepy,BubuLK/sfepy,sfepy/sfepy,rc/sfepy,vlukes/sfepy,sfepy/sfepy,BubuLK/sfepy,rc/sfepy,sfepy/sfepy,lokik/sfepy,vlukes/sfepy,BubuLK/sfepy,vlukes/sfepy,lokik/sfepy,rc/sfepy