add ability to designate location as internal

in response to #340