Added some casts (Issue #25).
Merge branch 'refs/heads/ARC/develop' into ARC/master