Removed APIs deprecated in 0.4

This removes all APIs that have been deprecated in 0.4 or before.