Added static magic method to Pi gateway
Merge branch 'develop' into user